/*
 * BulletConfiguration.h
 *
 *  Created on: Jun 24, 2011
 *      Author: sebastien
 */

#ifndef BULLETCONFIGURATION_H_
#define BULLETCONFIGURATION_H_
#include "btBulletDynamicsCommon.h"
#include <stdio.h>

class BulletConfiguration {
public:
	BulletConfiguration();
	virtual ~BulletConfiguration();
    btDefaultCollisionConfiguration *getCollisionConfiguration() const;
    btAlignedObjectArray<btCollisionShape*> getCollisionShapes() const;
    btCollisionDispatcher *getDispatcher() const;
    btDiscreteDynamicsWorld *getDynamicsWorld() const;
    btBroadphaseInterface *getOverlappingPairCache() const;
    btSequentialImpulseConstraintSolver *getSolver() const;

protected:
	btDefaultCollisionConfiguration* collisionConfiguration;
	btCollisionDispatcher* dispatcher;
	btBroadphaseInterface* overlappingPairCache;
	btSequentialImpulseConstraintSolver* solver;
	btDiscreteDynamicsWorld* dynamicsWorld;
	btAlignedObjectArray<btCollisionShape*> collisionShapes;
};

#endif /* BULLETCONFIGURATION_H_ */
